#include "recovery/fs/file/AbstractFileOperation.h"

#include "recovery/fs/file/File.h"
#include "recovery/fs/file/FileDescriptor.h"

namespace recovery {
namespace fs {
namespace file {

AbstractFileOperation::AbstractFileOperation(const std::string & path, bool opened)
: f(new File(path))
, _fd(new PosixFileDescriptor)
, opened(opened)
{
}
AbstractFileOperation::~AbstractFileOperation(){
}

} //end of namespace file
} //end of namespace fs
} //end of namespace recovery
